<template>
  <el-form :model="form" :rules="rules" ref="formRef" label-width="120px">
    <el-form-item label="门店名称" prop="storeName">
      <el-input v-model="form.storeName" />
    </el-form-item>
    <el-form-item label="营业执照" prop="businessLicenseArr">
      <UploadImage v-model="form.businessLicenseArr" :limit="1" />
    </el-form-item>
    <el-form-item label="食品许可" prop="foodLicenseArr">
      <UploadImage v-model="form.foodLicenseArr" :limit="1" />
    </el-form-item>
    <el-form-item label="手持身份证正反面" prop="idcardHandArr">
      <UploadImage v-model="form.idcardHandArr" :limit="2" />
    </el-form-item>
    <el-form-item label="身份证正反面" prop="idcardArr">
      <UploadImage v-model="form.idcardArr" :limit="2" />
    </el-form-item>
    <el-form-item label="门头照片" prop="storeFrontPhotoArr">
      <UploadImage v-model="form.storeFrontPhotoArr" :limit="1" />
    </el-form-item>
    <el-form-item label="店内环境照片" prop="storeInsidePhotosArr">
      <UploadImage v-model="form.storeInsidePhotosArr" :limit="5" multiple />
    </el-form-item>
    <el-form-item label="门店联系电话" prop="storePhone">
      <el-input v-model="form.storePhone" />
    </el-form-item>
    <el-form-item label="银行卡号" prop="bankCardNumber">
      <el-input v-model="form.bankCardNumber" />
    </el-form-item>
    <el-form-item label="结算手机号" prop="bankPhone">
      <el-input v-model="form.bankPhone" />
    </el-form-item>
  </el-form>
</template>

<script setup>
import { defineProps } from 'vue';
import UploadImage from '@/components/UploadImage.vue';
const props = defineProps({
  form: Object,
  rules: Object,
  formRef: Object
});
</script> 